//package com.dailyblue.project.estate.config;
//
//import org.springframework.ai.chat.memory.ChatMemory;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @Auther:Liu
// * @Testname:ChartMemoryConfig
// * @Date:2025/9/22 14:26
// */
//@Configuration
//public class ChartMemoryConfig {
//    @Bean
//    public ChatMemory chatMemory() {
//        return MessageWindowChatMemory.builder()
//                .chatMemoryRepository(new InMemoryChatMemoryRepository())
//                .maxMessages(20)
//                .build();
//    }
//}
